<?php

/**
 * MlFit form.
 *
 * @package    maslogger
 * @subpackage form
 * @author     Michaël VEROUX
 * @version    SVN: $Id: sfDoctrineFormTemplate.php 23810 2009-11-12 11:07:44Z Kris.Wallsmith $
 */
class MlFitForm extends BaseMlFitForm
{
  public function configure()
  {
  	$this->widgetSchema['suggest_box'] = new sfWidgetFormJQueryAutocompleter(array(
       'url'    => "/fit/ajaxSelect",
       'config' => '{ scrollHeight: 250 ,
                      autoFill: false }',
       'response' => '
  var retour = jQuery.ajax({
    type: "GET",
    url: "/fit/declare?numero="+data[1],
    async: false
  }).responseText;
jQuery("#sf_admin_container").html(retour);
etiquettes();'
       ),array('class' => 'emptyonfocus'));        	
  }
}
